w.f. working also with theta\neq 0