removing crashing- require statement