Changed function input