added splitting functions