grain and server