so it works for accessors too