Connection stuff and tasks and stuff