apply preprocessing only once
added explanation of epochs