out function

Transfers the class object to a list