enable taking photos