use Ruby hash syntax for attributes