fixed the child person. The key was to convert the number to an integer in the child, and not in the class itself