improved timing by getting rid of the delay