fixes
adding invert component and test