Added print function for erps