have to make sure to attach all methods to specified parent object.