added: wrapscan and history