added discus code