made it device scalable