added custom ItemWriter and delegation feature