keep function

Keep or drop symbols