added a parameter in three functions to improve tabulation counting

2 jobs for master