use enum for connector types