changes due to addition of middle layer