changed puts to p