added post_rated hook