updated main file to require simple or advanced calc