convert to use of define declaritive