adds i require method