working on adding prediction