to delete
fixed split calculation