unwrapped for testing purposes