add examples and update user control functions