compare interface