#10 refactor to change attribute name