adding performance stuff