fixed inputwrapper, changed main present method