allow classes in any order on p elements

fixes #139