Rewrote obj loader