splitting api - for future usage