reduce code

2 files changed