fixed interactive version