fix realation, add missing method