made ribbon a class