added associative array for shape storage and allow selection show and hide