Init to write code