filtering based on the 'from'