reformatted the custom widgets