better colony encoding