changed epocharray to epoch