changed db i to 0