added statistics
added better status info