added interface for open,close events