modify to introduce :INCLUDE and :EXCLUDE options