added sva.check function