added grain plugin