use pre set attribute validation