replace interface declaration