provisional generator for prac4