added a prompt and changed variables