adding back in save upon creating connection. fixing issue where connection was passed wrong number of variables