change prompt from puts to print