Made example1 better