The entire complex may have functioned as a temporary residence for the king when he made periodic visits to that part of the kingdom .
The entire complex also included workshops and a marketplace .
The entire complex , which also included workshops and a marketplace , may have functioned as a temporary residence for the king when he made periodic visits to that part of the kingdom .