Sample programm for grail