Second try - synchronizing