terminal prototype