extracting rating to partial, some styling