almost complete calculate panel