FIXED: conversion between codes and atom.