Add join capabilities for ints, add calculation of costs