Added prepare fn.