clean up initialize method