"open" function has been implemented (just for test)