Updated to be R like.