why does this work? how is it connected and when?