inital change away from deprecated functions