you can remove the datumStates from your datum tempaltes, they hve been deprecated