more code in prob intro