re-write of my chemnum package