encapsulate draw