Working out what goes where for place holders