still not working, but hacking my way forward

Signed-off-by: Alexander Skjolden <alex@plastboks.net>