front-end poc (forgot to commit this earlier)