Library for training purposes