added Entity.stampFilter() function