Added comment
Added allocation of struct