keeping everything as an object literal
fixing save attrs