switch to using native attribute