inline connect functions
fix makefile
+ dep tuple