updated require to ~4