Changed attibute names. Wasn't compiling well.