incorporated the users variable