add predictions method to client