set up vars and added comments to them