I removed the state check here because it's pretty pointless checking this on the client side