campfire code cleaned