Setting up the terminals 2