Changed rating to a double