An attempt to make a cross-platform