prototypes for X's input layer