handle extending Object