added handleContants class