work towards making drawing actions serializable