Add new prediction function