handling of petitions and resolving complaints