add require code