modification for erpal usage