p1 updated to work o nwebserver