added a few more options to the new cluster function