adding performance analysis