refactor fail - removed a require that was needed