Restruction seems to be ok. Need to be degugged although