starting to add function calling.
fixes and unification to boxing