added the Stability-And-Storage code. nothing implemented only math