adding Constructors and local variables