converting to interfaces