add preconditions to example actions