added presplit functionality
a