for works well
getinput needs rewrite, weird bug with for
input more robust, for still weird