code structure
beer has ratings