Adding parse functionality for single and pair data