building function at night with minarets