require methods lib