using instanceof for constructor new check
ignoring svn files