Input/percept/Output cycle