add choicesPerRow to public attribtues