made changes to require