add default assigned attributes + validations
add sortability on references