addpoly added and other changes
11/03/14