remove unnecessary print function