params.number should be .id to match database structure