sup to be compiled
created a parser function;
fixed unused variables;