Taken from a clone I made of git@github.com:lqoyzy/global_with_scala which seems to have disappeared