got ready for offset files
added variable for offset tracking
got offset tracking working