edited obj loader