Made contacts if else tree