public static function prepare_properties($possible_properties, $user_properties)
{
$properties = array_fill_keys($possible_properties, null);
$properties = array_merge($properties, $user_properties);
return self::filter_possible_properties($possible_properties, $properties);
}