renamed attributes and functions