using delegating constructors and global var