modified for eclipse, updated reference for trainig data