adding constants file, solving problem 4