Added default parameter for attribute
Put in sample code