move attributes and BUILD to top of class