renamed constant and moved up