implemented the I,O and F commands