reverted p to span