start with security splitting function