moved constants into constants file