How to create and publish grades