mainhandler sending specific object to setter