add support for spn