updated put call example