moving draw function to using in and using modification over time functions instead of modification since start time