Move define to helper