some fancy stuff

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