copy and paste reqfunc