adding new atom code