connect labels to inputs