epay replaced by internal class