added capability check in receiver side