added db check to see if records stil exist
invalid
invalid
adding similarity_task
added similairity task