setters and getters added for 3 dicount types