made cons a macro, so it will work with heirs