add plot functionality
add plot of training