added the base code for the time slowing stuff