remove puts from code