hlim10 kchen26 : Extracted duplicate codes to Constants