fixed bug, cleared output
added output