added checks for child/adult/booklimit