remove state method, seems useless