Thanks to all "top ten and below ten" beautiful minds. And a special thanks to Afralisp.com for providing a free online programming training. Yes, You are right about "When I started writing AutoLISP code, I was totally confused!! The more I read, the more in a muddle I got. I'm posting my problems at this NG since few weeks . Sometime I get great advice "also take a look at "nentsel" " and sometime I get "The best use of your time would be to hire someone like Rob with experience to do these programming tasks for you. If you would like to hire my services, then pop me an email". "You need to dig a level deeper to extract the room number. Hint: is (assoc 1), but not in 'EL'" I noticed this issue not only with me but other who trying to learn it. I have years CAD experience and trying to learn Autolisp myself. So next time, I don't need services and hints. I just need a function name so that I can read and finish what I'm trying to write or an advice that I can do better with other way. The lisp routine I wrote and I'm trying to write is only for my learning purpose. Here is my newly routine. It is working fine but I wanted show to all beautiful minds if I can write same routine other way. ;;checkdwg (defun C:dtest (/ a1 lan check) (setq lan "A-Anno-Dims") (setq check (tblsearch "layer" lan )) (if(= check nil) (command "layer" "n" lan "c" "173" lan "") ) (setq A1 (ssget "X" '((0 . "dimension")))) (command "change" a1 "" "p" "la" "A-Anno-Dims" "") ) Again, thank you for your help. John