adds active record