abstract function added to shorteners