ah yeah that is likely a problem but we should fix indexRandom here rahter than having a custom method