connect method was non static, should be static.