These are elegant solutions imo.