First prototype logic