moving to int return codes for service methods