extract key constant definition
basic work on drawing