declass function