dealt with #, implemented parsing of commands and parsing withing command