Adding background messed up the timing so I just got rid of the wait block altogether, somehow it seems more accurate to the original now