trying to fix time stuff