exported new helper function for usage in editor