added defineConstants