reimplemented Spid to allow comparison