Preliminary version of a layout function for the manager