PRINT_TRACE --> TRACE
Added definition of join