initialize function added