Better python syntax