moved init block