validates IO operations