Add call to join statement