final function incomplete, sub domains of functions working as expected