remove abstract function constraint and test it in the called method