switched all function in FW to static