changing to deprecated function

as it works! woo