finished stubgenerator