Made some changes to way memory is allocated