Thanks to @nbsp for the idea