added the functions and signal handlers for all menu options