replaced .() with .call() for support for older versions of ruby