joined code with spanker