reverted initialize function