pass string as attr
allow attributes passed in as string and hash