matches was not working and is replaced with contains