renamed sample to calculator