test to show how you can assign types to an attribute