added further adjustments to foundation and front end