a simple Swift environment