added macro for verifying interface conformity