Reversed version that was previously used for testing