added rudimentary ply loader