set resources in 1 line