debuging why class level connection does not work..