Change callback from init to create