logging was added