cosmetic
better API for changing epoch calculation function