Added displayTrace solution