misc bits and pieces