fixed slim2 connection + added functionality