revised and only used base functions. got rid of startup menu