removed duplicate line
added attribute defaults