allow value to be passed to attribute