Add requirements function now working