accepting inputs from user