performance improvement by doing things in parallel