add require as per warning message