added overloaded constructors for testing reason and fixed some variables name