adding time function to snapr call