add getBy and removeBy