Now using the delta variable so the speed wont depend on the frame rate