Add function for JDE ASL 2steps approach