add manage function