open funciton ok