Added clear function for ribbon