+ Added functions for inverting