added functionality for PUTS