Works, code was not being be called