refactored to PHP includes