Added the current connections variable
small changes