setup generators
add guard