#158
#158: just need to implement getRandom for each class