modify model definition to include bedtype