solution to active record congress 1