Revised function names and added more examples.