Sleep function is a bit more tweaked
Better format