added open
added ioctl