implement the fake require pattern