conditional puts

docs