removed 2 require statments