several improvements to the general layer