initial code for epoch related events