calculate time not working yet.