Added up/down and clear functionality