Solved the thing of returning the several objects, by returning them in a list