Made it much much faster
dear god please work this time