work in progress dynamic binding of calculator