remove dependency on slim