- select proper element
- cleanup code