first commit to add init function