change initialize method
update test pattern