removing test print commands