shakey implementation of FIO