add gui functions for adding subrequiremetns