adding sample service code