reshape after p event
reshape is almost done, maybe some bugs
regilar update