now storing publication object, not just the id