fixed to compile empty functions