add optional rating field [#150]