added puts to ex.3