revising model but possible problems with pfilter

check code
deleted jpeg