changed basic input functionality ... added command basetag and command trim