Start init function