mofified GrainFramer