rewrite backg method, now it doesnt use inner and outer ring values