added logs to maybe find what's going on