a first attempt at a rewrite of the attendance project - proof of concept