needs to be in miliseconds