Fixing code init sample