frame debugging + mainclass