data schema uses better type checking methods