Corpus based material as a teaching resource