Can create, but then exception is thrown