implementing some service functions