attrs were over-writing each other making for strange errors