move draw to index