Beginning prediction functionality