added things for main class and amount options