combining Azita's work