added some help messages (works but code is ugly)