code clearing

- notations changed
- downdate function corrected