Working out how to add attributes from the back-end