Made the function requirements dictionary global