Added automatic scaling
notes on inputwrapper