using attribute rather than string in source code