added drawing modes