added sample code

added sample code from ED to be messed around with