@asamake delete allocation after usage