Took out remaining time function