Service with functions