better way to check references