document original values
removed useless declarations
device management