use modern active record calls