open/close added

Signed-off-by: LampGraph <LampGraph@gmail.com>