comments
code simplified