IO + some corrections