LDR stuff now working

Fixes #1