atom validation