added comments, shared resources need comments