clone of Pahimar's master eclipse project