tweaked variable placement