added *~ to ignore patterns