Added check_init