Added and fixed various operations