Make platform independend