can now load and decode! need to add tests