removed dependency on Slim