connection library NOT WORKING YET