found a first use for DAO->join, and improved it accordingly. Also added more comparison magic.