layer.r typo: added full stop