Adding 'selection' attribute