declaring type makes log statements nicer