Noddy getValue function