WIP implementing sql series