boxed int with dynamic function calls proof of concept