modified contact class for AR