i tried but it didn't really shorten the code...