changed function declaration method call to assign_variable from parse_operations