Changed order of params in callback