added check for interfaces (not allowed)