Added sample main program