Issues/#24

add sample code output option