Approaching some sort of correctish front-end code