fixed return value
removed save button
added example code