Pre-Final Version 4.0

Finally all the operations seem to be working