added monitors fixed a priority bug