Used for testing only