more dude logic
cleanup