EthanR: implemented state