moved constants up towards top of file to find easier