scoping drawObj