more work done... still not working

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