generic connection macros for 20x20 maps