passing in by objects, used attributes
using 1.9.1 to support ie9, not using fancy functionality