correct getting attributes and display