THEORY OF AUTOMATICITY IN CONSTRUCTION