changed gather command to be able to gather from 100% training set