added functionality to customize subforms