minor additions to drawing routine