updated af selector functions