moved magic methods