Updated source to include format and added more examples