formatting
changed returned values of class restax