adding the midst in the front