fixed bugs - new function name - predict method