added pictures of req func