add variable minHeight to compare to kidHeight, and execute the condition