added attribute shortcuts to code