fixes a bug that returns a new object as opposed to a reference to an existing one
removes console log statement
Merge pull request #3 from DLavin23/master

Bug Fix