changed loop lengths
added new menu option (1)