added some stuff and fooling around with disk IO