personal

used function to simplify the repetitive prompt process