minor changes to 'draw' program