Updated practice drive code