platform lib