use anchor attribute instead of array