input layer refact - basic layer in place