drawConnections and CheckConections methods updated
drawConnections modified