use variables to avoid another use of $(DIR)