Added parameters to the function comments..
Assigned default value of 0 if debug_level arg is not present.