changed to check by title, not by id