#158 implemented demote