removed printline statements