create object methods and outlet