some sandbox code for attributes