working on IO part of framework...