extend object class