render method in SubContact now adheres to hidden attribute