add cehck to amke sure atom type