use correct function
use right key
add debug
get test the right way round
rm debug line