simple logging system added