Warning work in progress. everything here is a mess, and i’ll probably be embarassed about something here.