skeleton calculator functionality