Requested functions, now implemented.