minor refactor: moved common helper function of two function to top-level.
minor refactor: moved character to top-level.
Added tick quotation syntax sugar!