fixed bug on Mac and added Jerusalem variant