Insert into the right place