Added open fn.