expand the expression calculator