variable alpha, debugged