failing in attempt to see function within calcualtor class