logging
changed method signature to take email