using custom attribute instead of just name