Working on grain implementation.