implemented selfie mode