better placement of a variable