interpreting entered commands rewritten