Works, but need to check learned value