lab6 - add rating