Code setup for associative bug