Added Sample using old API and One Sample for custom formater