added comments on unused functions