optimize service impelement method by extending ItentService