more work on select model for testing