move loading to objects