added specs for rating and type