Identify function using atom for sync