Need to write service class.