Moved code initialising arrays into static block