add debug function
add wheel control