Ok except for the 1 line code