partial implementation of INCLUDE statement and INCLUDES test