A functional prototype