conroller working fine