Added groundwork for a useful API to be developed later