removing some put statements