Early attempt at implementation. Nothing to see here.