added rating handler (shown in table)