implemented getting force lines; maked "calculate" saves files for debug