used GFrame as superclass and stuff