added col flexid to entrycontra model for uniqueness. not coded