some .ado files (tools) to make programming in Stata easier