collection and collectionformfield rewritten