Fixed P27 (groups) to be generic; formatting; some sugar added