get to passing state using new Type, methods not working