Just some python trial and error