put bereqs in a valid subroutine