myperofrmance on new layout
merged with jerry's branch