implementing 4.4 compatibility for deprecated set
Repeating method