incorperating star rating to test