added boundLogger struct, methods for adding data