change devices initialization