Updated example, thanks to @ProjectDent