moved user variable earlier.