clean duplicate code
add setup instruction