added preliminary wet function