added some functions in select modules