added contains check. do not like it.