added splitting capability