simplified, got rid of :connection flags