i think the code is okay like this and easier to understand probably faster.