add random number generator in stack as placholder for real methods