edit and document typeSetResponsive function