rework the serer signatures and add some constants