working on testing the initialize function