added third parameter for scale