Title: A model of the firm in time and space