compile
with -g -i -t options
clean up
add drawOption