add logic file