main mac calc test