added deviceread! not dom ready!