Graphene as a sensor