simplified
shell filter
two forms accepted