writting 157 devices