added malloc and internet sections