changed to work with connect program