Marcos orders agencies to study list of functions to be devo