Added error prompt for users