make attributes actually work