Oracle implementation that won't be hard to make serverside later