add foudnation
base logic first phase