Added params to debug feature