add a method for easier use in prediction