implemented methods for array handling, still not loading correct values from array
load classfile only when necessary