Remove callback from createArrays() method