add draw orbit function