Add debug statement to check params