General structure of publications model now functions