added timer and cleared homepage