fixed arraysize and added new packages