made example a lot better