add set and get inverse functions
add statements similar to example ... still erring out thi