close #170 close #171 add reserved phase related functionality