Added the random methods for Ian & Phou