generalized the comments, untested because of problems on my system