fixing time being used. left hard coded value in before