Added error handeling for when the users enters nothing