write ParentSkeleton.java