pp6calculator modified