added object scaling