Time validation added