First version of sync method, as testaction