working out kinks of moving to Active Record