setup code for expression number