FS Api functions