was writing lists of ids instead of ids