Adding for active record