added randomSub method