add some functions for querying features