move aux-data reading to separate class