Finished implementing create character marker function