added support logic to analog drawing