shouldnt have tried to optimize while i was tired.

Don't forget to revert this shit