add draw processing