code drawing 98d various states, by rafaelfajardo