starting to add logging framework