changed data and added some loggers