added training src. features contain a ridiculous bug