added footer and smarter dob display