added conditional if statements for age and movie time