TO DO: CUSTOMIZE THE TIME INTERVAL