let's use @published instead of attributes