defined fs as a var