implemented epochPattern