Added extras to traincascade functionality