testing per http://stackoverflow.com/a/16013156/1942596