Reenamed debug() and info() and added error info