naive program