taking attributes correctly now.