logging (also fields and methods wrong way round - whoops!!)